package xyz.xtt.user.service;

import java.util.Collection;
import java.util.Map;

import com.baomidou.mybatisplus.extension.service.IService;

import xyz.xtt.user.entity.TblUserChainAccount;
import xyz.xtt.user.vo.user.UserVo;

/**
 * <p>
 * 用户区块链账户表 服务类
 * </p>
 *
 * @author author
 * @since 2024-10-23
 */
public interface ITblUserChainAccountService extends IService<TblUserChainAccount> {
	/**
	 * 查询用户链帐户信息
	 * 
	 * @param userIds
	 * @return
	 */
	Map<Long, TblUserChainAccount> queryAfterAdd(Collection<Long> userIds);

	/**
	 * 查询帐户详情
	 * 
	 * @param uid
	 * @return
	 */
	TblUserChainAccount info(Long uid);

	/**
	 * 查询买方和卖方信息
	 * 
	 * @param sellUid
	 * @param buyUid
	 * @return
	 */
	Map<Long, TblUserChainAccount> queryAfterAdd(Long sellUid, Long buyUid);

	/**
	 * 获取账户信息
	 */
	UserVo getAccountAddress(String uid);

}
